Eventin\Event\Api\EventController D

Total Complexity 201
Dependencies 12
Dependents 0
Total lines 1,501
Lines of code 978
Logical lines of code 442
Comment lines 257
Methods 31
Properties 3

Methods 31

Method Rating Maintainability Complexity Lines of code
prepare_item_for_database()
D
20
61 205
prepare_item_for_response()
C
30 21 112
get_items()
C
34 22 91
create_item()
A
43 11 47
register_routes()
A
32 1 164
update_item()
A
45 9 42
prepare_organizer()
S
50 7 29
prepare_speaker()
S
50 7 29
prepare_meeting_link()
S
49 7 28
delete_items()
S
51 6 27
update_author()
S
51 5 24
convert_elementor_to_wordpress()
S
60 5 14
export_items()
S
60 5 12
delete_item()
S
51 3 28
is_etn_post_type_supported_by_elementor()
S
62 4 11
clone_item()
S
54 3 19
import_items()
S
59 3 13
get_event_list()
S
57 2 17
assign_categories()
S
66 3 8
assign_tags()
S
66 3 8
get_authors()
S
63 2 11
check_post_edit_with_elementor()
S
66 2 8
import_permissions_check()
S
80 1 3
export_permissions_check()
S
80 1 3
get_item_permissions_check()
S
82 1 3
get_item()
S
68 1 7
create_item_permissions_check()
S
80 1 3
update_item_permissions_check()
S
80 1 3
get_item_schema()
S
91 1 2
delete_item_permissions_check()
S
80 1 3
__construct()
S
77 1 4